home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Diamond Collection
/
The Diamond Collection (Software Vault)(Digital Impact).ISO
/
cdr27
/
ct.zip
/
CT.DOC
< prev
next >
Wrap
Text File
|
1995-05-29
|
3KB
|
55 lines
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
COUNT UP TIMER
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
CT is a special purpose countdown timer. It was developed for use in
situations requiring a "one-touch" restart, to the specifications of Jim
Magin of Ellicott City Maryland.
This program requires VGA graphics and a 80286 or better machine. It was
tested on a generic 80386SX-33 machine with a color VGA monitor. I believe
it will work on a laptop's monochrome VGA display, but had none available to
test.
To execute the program, type CT at the DOS prompt. Press a key at the
opening screen to proceed to the setup prompts. The first prompt is "Enable
flashing clock ticks?". This allows a once per second visually interesting
flashing display, if desired. "Enable time warning?" permits a warning buzz
when the timer counts up to a preset time. Finally, pressing a key begins
the timer.
Any time after the timer has begun counting down, pressing the ESCAPE key
exits the program. Pressing RETURN while the timer is running freezes the
timer without resetting it. Pressing any other key (besides ESCAPE) while
the timer is running resets it to zero and restarts it. The SPACE bar is
probably the most convenient key to use for this purpose. Note that pressing
a Function Key, a cursor movement key, or a key on the numerical keypad
counts as two keystrokes, so that doing so while the timer is running resets
it twice and starts it running again twice (an annoying flicker may be
noticeable).
The number at the screen bottom keeps track of how many times the timer has
been started. This may be useful in applications where event counting is
desirable.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
This program was developed using the kernel of the C++ code for my CHESSCLK
(Chess Clock) program. The CountdownTimer class proved very useful for this
purpose. The C++ and C source code is enclosed for those programmers among
you to play around with. Please do not distribute any modified versions of
the program without my permission. Improvements will be gratefully
acknowledged, though.
Yours,
M\Cooper
3425 Chestnut Ridge Rd.
Grantsville, MD 21536-9801
--------------------------
Email: thegrendel@aol.com